package com.ryskoo.catering.coupondetail.repository;

import com.ryskoo.catering.coupondetail.domain.CouponDetailPO;
import com.ryskoo.framework.core.repository.IBasicRepository;

import java.util.List;

public interface ICouponDetailRepository extends IBasicRepository<CouponDetailPO> {
    List<CouponDetailPO> getListByCustomerUuidAndCouponUuids(String customerUuid, List<String> couponUuids);

    List<CouponDetailPO> getListByCustomerUuidAndCouponUuid(String customerUuid, String couponUuid);

    List<CouponDetailPO> getCouponDetailList(String customerUuid, String productUuid, double price);

    List<CouponDetailPO> getVendorCouponDetailList(String customerUuid, String vendorUuid, double price);
}
